package com.example.housingRentalSystem.service;

import com.example.housingRentalSystem.bean.Role;

public interface RoleService {

    Role findByName(String name);

    Role findById(Integer id);

    void save(Role role);

    void addRoleToUser(String account, String roleName);
}